<template>
	<view>
		<uni-section class="mb-10" title="意见反馈" type="line">
			<uni-easyinput type="textarea" v-model="idea" placeholder="请输入您的反馈意见" style="padding:0 20rpx;">
			</uni-easyinput>
		</uni-section>

		<view class="submit_btn">
			<button @click="referTo">提交</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				idea: '',//反馈意见
			}
		},
		methods: {
        /** 提交意见反馈 */
		referTo(){
			if(this.idea == ''){
				this.$modal.msgError('请输入您的反馈意见')
				return;
			}
		},
		}
	}
</script>

<style scoped lang="scss">
	::v-deep .uni-section .uni-section-header__decoration {
		background-color: $uni-color-primary;
	}

	::v-deep .uni-easyinput__content-textarea {
		height: 250rpx;
	}

	.uni-section {
		background-color: transparent;
	}

	.submit_btn {
		width: 95%;
		margin: 50rpx auto 0;
		button{
			background: $uni-color-primary;
			color: #fff;
			height: 80rpx;
			line-height: 80rpx;
		}
	}
</style>
